<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/3/28
  Time: 10:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="com.atguigu.pojo.Server" %>
<%@ page import="java.util.List" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021-03-07
  Time: 22:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <%@include file="/pages/common/head.jsp"%><%--静态引用,包括项目起始点,和css,jquery等头部信息 --%>
    <link rel="stylesheet" href=<%=basepath+"static/css/common.css"%>>
</head>
<body>
<div class="container-fluid ">
    <div class="center-block" >
        <div class="row" style="background: black;color: white;font-size: 18px;height: 30px;line-height: 30px">
            <strong class="col-md-2 " style="padding-left: 50px;font-size: 24px">CMDB</strong>
            <div class="col-md-5 col-md-offset-5">
                <div class="col-md-4 col-md-offset-6">
                    欢迎, <a href="#">${sessionScope.user.username}</a>
                </div>
                <div class="col-md-2">
                    <a href="<%=basepath%>userServlet?action=logout" class="btn btn-info btn-sm" style="height: 28px">退出</a>
                </div>

            </div>
        </div>
    </div>
    <div class="center-block" >
        <ul class="nav nav-tabs">
            <li class=" col-md-2" style="padding: 0;text-align: center"><a href="<%=basepath%>serverServlet?action=list" class="col-md-12 active" style=";font-size: 24px" target="_blank">服务器</a></li>
            <li class=" col-md-2" style="padding: 0;text-align: center "><a href="<%=basepath%>serverServlet?action=listContainer" style=";font-size: 24px" target="_blank">container</a></li>
<%--            <li class=" col-md-2" style="padding: 0;text-align: center "><a href="#" style=";font-size: 24px" target="_blank">vm</a></li>--%>
<%--            <li class=" col-md-2" style="padding: 0;text-align: center "><a href="#" style=";font-size: 24px" target="_blank">nginx代理记录</a></li>--%>
<%--            <li class=" col-md-2" style="padding: 0;text-align: center "><a href="#" style=";font-size: 24px" target="_blank">服务依赖记录</a></li>--%>
<%--            <li class=" col-md-2" style="padding: 0;text-align: center "><a href="<%=basepath%>containerServlet?action=list" style=";font-size: 24px" target="_blank">发布</a></li>--%>
        </ul>
    </div>
    <div class="center-block" >
        <div class="col-md-2">
            <ul class="breadcrumb" style="height: 35px">
                <li class="text-center"><a href="<%=basepath%>serviceServlet?action=list"  target="_blank"  >服务</a></li>
                <li class="text-center"><a href="<%=basepath%>serverServlet?action=getTopology"  target="_blank">服务器拓扑</a></li>
            </ul>
        </div>
        <div class="col-md-2">
            <ul class="breadcrumb" style="height: 35px">
<%--                <li class="text-center"><a href="#"  target="_blank">容器内服务</a></li>--%>
            </ul>
        </div>
        <div class="col-md-2">
            <ul class="breadcrumb" style="height: 35px">
<%--                <li class="text-center"><a href="#"  target="_blank">vm内服务</a></li>--%>
            </ul>
        </div>
        <div class="col-md-2">
            <ul class="breadcrumb" style="height: 35px">
<%--                <li class="text-center"><a href="#"  target="_blank">nginx代理拓扑</a></li>--%>
            </ul>
        </div>
        <div class="col-md-2">
            <ul class="breadcrumb" style="height: 35px">
<%--                <li class="text-center"><a href="#"  target="_blank">依赖拓扑</a></li>--%>
                <li class="text-center"><a href="<%=basepath%>projectServlet?action=listProject"  target="_blank">project</a></li>
            </ul>
        </div>
        <div class="col-md-2">
            <ul class="breadcrumb" style="height: 35px">
                <li class="text-center"><a href="<%=basepath%>taskServlet?action=addTask"  target="_blank">任务</a></li>
                <li class="text-center"><a href="<%=basepath%>taskServlet?action=taskAssignForRg"  target="_blank">任务编排</a></li>
            </ul>
        </div>
    </div>
</div> <!--欢迎行-->
